<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.transitionbox{
				width: 100px;
				height: 100px;
				border: 2px solid;
				/* 横线拉伸动画效果 */
				transition:  1.5s;
				/* transition: height 1s; */
			}
			.transitionbox:hover{
				width: 500px;
				height: 500px;
			}
			/* .transitionbox:hover{
				height: 300px;
			} */
		</style>
	</head>
	<body>
		<h3>拉伸盒子动画效果</h3>
		<h5>trasitionbox他有两个参数:拉伸方向width,2s动画执行时间</h5>
		<div class="transitionbox"></div>
	</body>
</html>
